package com.john.design.创建性模型.建造者模式;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2020/8/10 23:32
 */
public class Test {
    public static void main(String[] args) {
        CourseBuilder courseBuilder = new CourseActualBuilder();
        Coach coach = new Coach();
        coach.setCourseBuilder(courseBuilder);
        Course course = coach.buildCourse("Java","Java","QA","PPT");
        System.out.println(course);
    }
}
